$next_topic = intval ( $on_mysqli->xss_security ( $_POST ["next-topic"] ) ) ; $inner = array ( "category" , "admins" ) ; $join = array ( "yespress_topic.cat_topic=yespress_category.id_cat" , "yespress_topic.author_topic=yespress_admins.id_admin" ) ; $select_topic = $on_mysqli->select_db_inner ( "topic" , $inner , $join , "where id_topic < $next_topic" , "order by id_topic desc" , "limit 5" ) ; if ( mysqli_num_rows ( $select_topic ) != false ){ while ( $topic_array = mysqli_fetch_assoc ( $select_topic ) ){ print ( "